<?php
/**
 * Created by PhpStorm.
 * User: refar
 * Date: 23-3-31
 * Time: 下午9:33
 */

// V2 Setting
//define('DEPART_V2', json_encode(array('总经办', 'DBT', 'DNB', '销售部')));
//define('SECTION_V2', json_encode(array('总经办', 'DBT', 'DNB', '销售课')));
define('STATUS_V2', json_encode(array('在库', '待借出审批', '待分配', '使用中','待销售确认', '待销售审批', '已销售完成', '待删除审批',
    '销售款已入账', '销售确认通过', '销售审批通过')));

define('DELETE_REVIEW_V2', 7);

define('PSO', 22);
define('SALE_ADMIN', 23);
define('SM', 24);
define('GM', 25);

// sms借出时判断机器类别
define('DBH', 'DBH(杭州)');
define('DBT', 'DBT(台湾)');

define('CLASSIFY', json_encode(array(DBT, DBH)));
define('BORROW_CLASSIFY', json_encode(array(PSO => [DBT], SM => [DBH], GM => [DBH])));
define('BORROW_REVIEW_CLASSIFY', json_encode(array(PSO => [DBT], SM => [DBH])));
define('DELETE_CLASSIFY', json_encode(array(PSO => [DBT], SM => [DBH], GM => [DBH])));
define('DELETE_REVIEW_CLASSIFY', json_encode(array(PSO => [DBT], SM => [DBH])));

// 个别数据显示
define('ROLE_DATA_VISIBLE', SALE_ADMIN);
